package cn.jiyun.pojoday04;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: 小周
 * @Package: cn.jiyun.pojoday04
 * @Project: p11_parent
 * @name: Student
 * @Date: 2023/7/28 15:45
 * @Filename: Student
 */
@Data
@TableName(value = "student")
public class Student implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "age")
    private Integer age;
    @TableField(value = "sex")
    private String sex;
    @TableField(value = "address")
    private String address;
    @TableField(value = "tid")
    private Integer tid;
}
